<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <title>重置密码</title>
    <link rel="stylesheet" href="/layui/css/layui.css">
    <style>
        html, body {
            width: 100%;
            height: 100%;
        }

        .layui-container {
            box-sizing: border-box;
        }

        .title {
            display: flex;
            align-items: center;
            font-size: 0.3rem;
        }

        .title .name {
            color: #ba1723;
        }

        .title .v-line {
            margin-left: 30px;
            color: #666666
        }

        .title .reset {
            margin-left: 30px;
            color: #666666;
        }

    </style>
</head>
<body>
<div class="title"><p class="name">集客通Jiketong</p>
    <p class="v-line">|</p>
    <p class="reset">重置密码</p></div>
<div class="layui-container layui-row">
    <div class="layui-col-lg6 layui-col-sm12">
        <div class="layui-form">
            <div class="layui-form-item">
                <div class="layui-block">
                    <label class="layui-form-label">账号:</label>
                    <div class="layui-input-block">
                        <input type="text" name="title" lay-verify="title" autocomplete="off" placeholder="请输入账号"
                               class="layui-input">
                    </div>
                </div>
            </div>
            <div class="layui-form-item">
                <div class="layui-block">
                    <label class="layui-form-label">手机号:</label>
                    <div class="layui-input-block">
                        <input type="text" name="title" lay-verify="title" autocomplete="off" placeholder="请输入手机号"
                               class="layui-input">
                    </div>
                </div>
            </div>
            <div class="layui-form-item">
                <div class="layui-inline">
                    <label class="layui-form-label">验证码</label>
                    <div class="layui-input-inline">
                        <input type="text" name="title" lay-verify="title" autocomplete="off" placeholder="请输入验证码"
                               class="layui-input">
                    </div>
                </div>
                <div class="layui-inline">
                    <button class="layui-btn layui-btn-primary layui-btn-sm" style="height: 38px;line-height: 38px">获取验证码
                    </button>
                </div>
            </div>
        </div>
    </div>
</div>

</body>
<script src="/layui/layui.js"></script>
<script>

    //640是原始设计果图大小
    var fontSizeAuto = function(oriWidth){
        return function(){
            var viewportWidth = document.documentElement.clientWidth;
            if(viewportWidth > oriWidth){ viewportWidth = oriWidth; }
            if(viewportWidth < 320){ viewportWidth = 320; }
            document.documentElement.style.fontSize = viewportWidth/(oriWidth/100) +'px';
        }
    }
    fontSizeAuto(640)();
    window.onresize = fontSizeAuto(640);
    //一般直接写在一个js文件中
    layui.use(['layer', 'form'], function () {
        let layer = layui.layer
            , form = layui.form;
    });
</script>
</html>